<?php 
class Administrator_model extends Model {
	
	var $tbl_name = 'administrator';
	
	function Administrator_model() {
		parent::Model();
	}	
	
	function getAdministrator($ary_info) {
		$this->db->where($ary_info);
		
		$query = $this->db->get($this->tbl_name);
		if ($query->num_rows()>0) {
			return $query->row_array(); 
		}
	}			
}